package com.ddwl.schema.bo.user;

import com.ddwl.schema.bo.base.BaseBo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * 类AccountCreateBo.java的实现描述：创建账号
 *
 * @author zach
 * @Date :2020-08-07 09:21.
 */
@Getter
@Setter
@ApiModel(value = "后台创建账号入参")
public class AccountCreateBo extends BaseBo {

    @NotNull
    @ApiModelProperty("登录帐号")
    private String username;

    @NotNull
    @ApiModelProperty("帐号昵称")
    private String nickname;

    @ApiModelProperty("帐号头像")
    private String avatar;
    @NotNull
    @ApiModelProperty("登录密码")
    private String password;
    @NotNull
    @ApiModelProperty("状态 0封禁 1正常")
    private Integer status;
}
